package com.baiye.www.view;

import com.baiye.www.context.WebContext;

import javax.servlet.http.HttpServletRequest;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: baiye
 * @Date: 2021/07/18/16:20
 * @Description:
 */
public class Data {
    private HttpServletRequest request;

    public Data() {
        this.request = WebContext.requestHolders.get();
    }



    public void put(String name,Object value){
        this.request.setAttribute(name, value);
    }
}
